* sysdep.c (random, srandom): Don't define these if HAVE_RANDOM is
authorJim Blandy <jimb@redhat.com>
Tue, 23 Mar 1993 06:26:18 +0000 (06:26 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 23 Mar 1993 06:26:18 +0000 (06:26 +0000)
#defined.

src/sysdep.c

index e111c9c35ad611af4d3c9e98b3938806d5f4b421..89cda7d1c65e5ef0d527807c834ac00709d3d04a 100644 (file)
@@ -2045,6 +2045,7 @@ bcmp (b1, b2, length)     /* This could be a macro! */
 }
 #endif /* not BSTRING */
 \f
+#ifndef HAVE_RANDOM
 #ifdef USG
 /*
  *     The BSD random returns numbers in the range of
@@ -2081,6 +2082,7 @@ srandom (arg)
   srand (arg);
 }
 #endif /* BSD4_1 */
+#endif
 \f
 #ifdef WRONG_NAME_INSQUE